package util.xmlmanager.beans;

import java.util.LinkedList;

import util.xmlmanager.elements.Element;


public class Answer {
	//Constants:
	public static final byte ERROR = 0;
	public static final byte OK = 1;
	
	//Attributes:
	private LinkedList<Element> elementsList;
	private byte status;
	
	//Constructor:
	public Answer(byte status,LinkedList<Element> elementsList){
		this.status = status;
		this.elementsList = elementsList;
	}
	
	//Methods:
	public LinkedList<Element> getElementsList() {
		return elementsList;
	}

	public byte getStatus() {
		return status;
	}
}
